package com.cxl.entity;

import java.io.Serializable;

public class MsgResult implements Serializable {

    private Integer code;
    private String msginfo;
    private Integer role;

    @Override
    public String toString() {
        return "MsgResult{" +
                "code=" + code +
                ", msginfo='" + msginfo + '\'' +
                ", role=" + role +
                '}';
    }

    public MsgResult() {
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsginfo() {
        return msginfo;
    }

    public void setMsginfo(String msginfo) {
        this.msginfo = msginfo;
    }

    public Integer getRole() {
        return role;
    }

    public void setRole(Integer role) {
        this.role = role;
    }

    public MsgResult(Integer code, String msginfo, Integer role) {
        this.code = code;
        this.msginfo = msginfo;
        this.role = role;
    }
}
